import Discover from "../Pages/Discover"
import Djradio from "../Pages/Discover/Djradio"
import Playlist from "../Pages/Discover/Playlist"
import Toplist from "../Pages/Discover/Toplist"
import Friends from "../Pages/Friends"
import Mine from "../Pages/Mine"
import Pa404 from "../Pages/Pa404"
import Hualist from "../Pages/Discover/Toplist/Hualist"
const routes = [
    {
        path: "/discover",
        component: ()=>import(/*webpackChunkName"discover"*/"../Pages/Discover"),
        routes: [
            {
                path: "/discover/djradio",
                component: Djradio
            },
            {
                path: "/discover/playlist",
                component: Playlist
            },
            {
                path: "/discover/toplist",
                component: Toplist,
                routes: [
                    {
                        path: "/discover/toplist/hualist",
                        component: Hualist
                    }
                ]
            }
        ]
    },
    {
        path: "/friends",
        component: Friends
    },
    {
        path: "/Mine",
        component: ()=>import(/*webpackChunkName"mine"*/"../Pages/Mine")
    },
    {
        path: "/pa404",
        component: Pa404
    }
]
export default routes